8260d9a02ae8dbe47451406f0f230ec8b5becce9,wilma-functionaltest/src/main/java/com/epam/wilma/gepard/test/service/UnitTestServiceTest.java,UnitTestServiceTest,newStubConfigurationAccepted,#,60

Before Change


                .forRequestsLike().condition("AlwaysTrueChecker") //this one is real condition checked class
                .willRespondWith().plainTextResponse("response")
                .build();
        String stubConfig = wilmaStub.toString();
        logComment("Prepared Stub Configuration Info", u.escapeHTML(stubConfig));
        boolean b = wilmaService.uploadStubConfiguration(wilmaStub.toString());
        Assert.assertTrue("Stub Configuration should not be accepted.", b);
    }

After Change


                .forRequestsLike().condition("AlwaysTrueChecker") //this one is real condition checked class
                .willRespondWith().plainTextResponse("response")
                .build();
        boolean b = uploadStubConfiguration(wilmaService, wilmaStub.toString());
        Assert.assertTrue("Stub Configuration should not be accepted.", b);
    }